package com.tencent.backstage.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_user")
public class UserInfo {

    @Id
    @Column(name = "uid")
    private Integer uId;

    @Column(name = "username")
    private String username;

    @Column(name = "password")
    private String password;

    @Column(name = "phone")
    private String phone;

    @Column(name = "email")
    private String email;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "nickname")
    private String nickname;

    @Column(name = "permissions")
    private String permissions;

    @Column(name = "coupon")
    private String coupon;

    @Column(name = "header_pic")
    private String header_pic;

    @Column(name = "sex")
    private String sex;

    @Column(name = "birthday")
    private String birthday;

}
